package com.zpark.feign.impl;

import com.zpark.feign.IFeignServerUserControllerFeign;
import com.zpark.pojo.User;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @PackageName: com.zpark.feign.impl
 * @ClassName: FeignServerUserControllerFeignimpl
 * @Description:
 * @author: RZS
 * @date: 2024/4/17  12:05
 */
@Component
public class FeignServerUserControllerFeignImpl implements IFeignServerUserControllerFeign {
    @Override
    public List<User> getAll() {
        System.out.println("服务器繁忙");
        return null;
    }

    @Override
    public User getId(Integer id) {
        System.out.println("服务器繁忙");
        return null;
    }

    @Override
    public void update(User user) {
        System.out.println("服务器繁忙");
    }

    @Override
    public void insert(User user) {
        System.out.println("服务器繁忙");
    }

    @Override
    public void delete(Integer id) {
        System.out.println("服务器繁忙");
    }
}
